package com.charger.chargingcable.mapper;

import com.charger.chargingcable.domain.Chargingcable;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 充电枪Mapper接口
 * 
 * @author charger1
 * @date 2024-11-26
 */
@Mapper
public interface ChargingcableMapper 
{
    /**
     * 查询充电枪
     * 
     * @param chargingcableId 充电枪主键
     * @return 充电枪
     */
    public Chargingcable selectChargingcableByChargingcableId(Long chargingcableId);

    /**
     * 查询充电枪列表
     * 
     * @param chargingcable 充电枪
     * @return 充电枪集合
     */
    public List<Chargingcable> selectChargingcableList(Chargingcable chargingcable);

    /**
     * 新增充电枪
     * 
     * @param chargingcable 充电枪
     * @return 结果
     */
    public int insertChargingcable(Chargingcable chargingcable);

    /**
     * 修改充电枪
     * 
     * @param chargingcable 充电枪
     * @return 结果
     */
    public int updateChargingcable(Chargingcable chargingcable);

    /**
     * 删除充电枪
     * 
     * @param chargingcableId 充电枪主键
     * @return 结果
     */
    public int deleteChargingcableByChargingcableId(Long chargingcableId);

    /**
     * 批量删除充电枪
     * 
     * @param chargingcableIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteChargingcableByChargingcableIds(Long[] chargingcableIds);
}
